//
//  PHAsset+IsEqual.m
//  Meiyu
//
//  Created by apple on 16/8/26.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "PHAsset+IsEqual.h"

@implementation PHAsset (IsEqual)

- (BOOL)isEqual:(id)object
{
    if (![object isKindOfClass:[PHAsset class]]) {
        return NO;
    }
    PHAsset *asset = (PHAsset *) object;
    
    return [self.localIdentifier isEqualToString:asset.localIdentifier];
}

@end
